[HVM] Missing gva->gpa translation in MMIO MOVS handler
authorTim Deegan <Tim.Deegan@xensource.com>
Thu, 21 Dec 2006 20:44:35 +0000 (20:44 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Thu, 21 Dec 2006 20:44:35 +0000 (20:44 +0000)
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/hvm/platform.c

index a822fc093f028dcbccc19b8fc1451ef60ce6dc64..daab79f1786a4bc8b3a3a9a2fc47dddef71d565b 100644 (file)
@@ -965,7 +965,7 @@ void handle_mmio(unsigned long gpa)
         if ( ad_size == WORD )
             addr &= 0xFFFF;
         addr += hvm_get_segment_base(v, x86_seg_es);
-        if ( addr == gpa )
+        if ( shadow_gva_to_gpa(v, addr) == gpa )
         {
             enum x86_segment seg;